package net.huashitong.ssydt.provider.article.service;


import net.huashitong.ssydt.article.entity.SsArticleCollection;
import net.huashitong.ssydt.article.entity.vo.CollectionsQueryVO;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.09.22
 */
public interface SsArticleCollectionService {

    int deleteByPrimaryKey(Long id);

    int insert(SsArticleCollection record);

    int insertSelective(SsArticleCollection record);

    SsArticleCollection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsArticleCollection record);

    int updateByPrimaryKey(SsArticleCollection record);

    SsArticleCollection getByUserIdWithArticleId(String userId, Long articleId);

    int deleteByUserId(String userId);

    List<SsArticleCollection> queryByUserId(CollectionsQueryVO collectionsQueryVO);
}
